﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ctrBieuMau.ascx.cs"
    Inherits="TCHSHue.Modules.IndexControl.BieuMau.ctrBieuMau" %>
<div id="gioithieu" class="inbox">
   <h3 class="tieude">
        <span>Biểu Mẫu</span>
    </h3>
    <table style="width: 100%">
        <tr>
            <td colspan="2" class="lineOne">
            </td>
        </tr>
        <tr>
            <td colspan="2">
            </td>
        </tr>
    </table>
    <div class="modulContentRight" style="border: 1px solid #79B7E7; padding: 5px">
        <asp:TextBox CssClass="txtTKBieuMau" ID="txtTimKiem" Width="425px" runat="server" BorderStyle="None"></asp:TextBox>
        <asp:Button CssClass="timKiemBM" ID="bntTimKiem" runat="server" Text="Tìm" OnClick="bntTimKiem_Click" />
    </div>
    <h3>
        Danh sách các biểu mẫu</h3>
    <div class="tableAdmin">
        <asp:GridView ID="gridBieuMau" runat="server" AutoGenerateColumns="False" EnableModelValidation="True">
            <Columns>
                <asp:TemplateField HeaderText="STT">
                    <ItemTemplate>
                        <%# Container.DataItemIndex + 1 %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="tenTaiLieu" HeaderText="Tên tài liệu" />
                <asp:TemplateField HeaderText="Thao tác">
                    <ItemTemplate>
                        <asp:ImageButton ToolTip="Tải về" ID="ImageButton1" runat="server" ImageUrl="~/Style/Images/download.png"
                            CommandArgument='<%# Eval("maTaiLieu") %>' OnCommand="RedirectEdit" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                Hiện tại biểu mẫu nào
            </EmptyDataTemplate>
        </asp:GridView>
    </div>
</div>
